Harden benchmark worker and offline transform sandbox#11
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
score.jsonGates and Checks
The model-behavior checks are intentionally layered. Each one catches a different way a submission could be fast but no longer behave like the reference model.
1. Correctness Check
2. Hidden GPQA Single-Token Check
3. Hidden GPQA Multi-Token Check
4. Claude Semantic GPQA Check
MLXFAST_SEMANTIC_GPQA_REQUIRED=1after calibration.score.json.Scoring
decode_speedup = baseline_decode_sec_per_token / decode_sec_per_tokenprefill_speedup = baseline_prefill_sec_per_token / prefill_sec_per_tokenscore = decode_speedup^0.75 * prefill_speedup^0.25decode_speedup >= 0.95prefill_speedup >= 0.95score.jsonstill reports peak RAM, expert read bytes, expert read seconds, cache counters, derived expert-streaming bytes per token, GPQA TTFT aggregates, and semantic GPQA aggregate fields for diagnostics and future guardrails, but only prefill/decode speedups drive the primary score.Latest Status
06da143.50m03s.28m26s.265checked steps across10cases.9/9cases.1.0127854432595405.0.13911011108398438sec/token, speedup1.0187907394591718, floor0.95, passed.2.986097291347657sec/token, speedup1.010791554504655, floor0.95, passed.4/9, so it did not block this run.06da143adds per-component prefill/decode speedup floors to runtime scoring, artifact validation, tests, README, and challenge docs.06da143passed.Timing From Latest Run
6m35s.4s.2s.28m26s.14m11s.37s.Validation
swift test --filter 'Score|BenchmarkScript'swift test --filter 'Score|BenchmarkScript|BenchmarkSupport'swift build -c releasebash -n .github/scripts/validate-benchmark-artifacts.shbash -n .github/scripts/run-semantic-gpqa-gate.shbash -n benchmark.shbash -n setup.shgit diff --check